package eu.flexblog.modules.users.controller
{
	import eu.flexblog.modules.users.model.UsersProxy;
	import eu.flexblog.modules.users.view.UsersMediator;
	import eu.flexblog.modules.users.view.components.Users;
	
	import org.puremvc.as3.multicore.interfaces.ICommand;
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
	

	public class StartupCmd extends SimpleCommand implements ICommand
	{
	
		override public function execute(note:INotification):void
		{
			facade.registerProxy(new UsersProxy());

			var app:Users = note.getBody() as Users;
			facade.registerMediator(new UsersMediator(app));
			
			
		}
		
	}

}
